<template >
  <transition v-if="hasPermission(permissions) && hasRole(roles)">
    <slot/>
  </transition>
</template>
<style>
</style>
<script>
import appService from "@/utils/appService";
export default {
  props: ["permissions", "roles"],
  methods: {
    hasPermission(permission) {
      // let result = appService.hasPermission(permission);
      // return result;
      return true;
    },
    hasRole(roles) {
      // let result = appService.hasRole(roles);
      // return result;
      return true;
    }
  }
};
</script>


